build: Move the gtk-doc dep to the toplevel
authorMatthias Clasen <mclasen@redhat.com>
Fri, 4 Sep 2020 13:52:37 +0000 (09:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Sep 2020 13:57:14 +0000 (09:57 -0400)
commita8eae7afaa8560b8aa949b2de14f4da0027af42b
treebcbb8241681be8dfdd5019025f6c2879316b0606
parent1a131a04d36e6bacce82889727762d9d2dd5b849
build: Move the gtk-doc dep to the toplevel

We want to include the gtk-doc subproject in release
tarballs, using --include-subprojects, but that only
works if we've actually built the subproject. And
enabling gtk-doc for dist builds is problematic -
it tends to break meson dist.

So declare the gtk-doc dependency independent of
-Dgtk_doc, and use --force-fallback-for for it.
docs/reference/meson.build
meson.build